Application hooks
Application hooks are a way to extend the functionality of the Corvina platform. They are a way to embed some part of your application logic into the Corvina platform. This way, you can extend the platform with your own logic.
Available hooks
The following hooks are available:
globalPage
navigationDrawerPages
globalPage
This hook allows you to add a page to the global page. The global page is the page that is displayed when the user clicks on the arrow in the Store > Manage
table list.
This hook also adds a link to the global page in the navigation drawer under the Applications
section.
navigationDrawerPages
This hook allows you to add one or more pages to the navigation drawer. The navigation drawer is the menu that is displayed when the user clicks on the hamburger menu in the top left corner.
Design guidelines for navigation drawer pages
Label
- the label should unambiguously describe what the app does.
- the label should be a noun, not a verb.
- US English spelling and sentence case.
- Don't use your company, brand or product name, unless it also explicitly calls out the functionality of your app. Why? It can be confusing to new users or any user who isn't familiar with your brand, particularly when multiple apps are installed. Plus, it doesn't fit with the default menu items.
Icon
- use svg icons, we need to be able to change the color of the icon using js and css
- use an icon that aligns well with the functionality of your app
- don't use your company brand or logo
- use a square icon with a 1:1 aspect ratio and transparent background